
/*流光按钮*/
.streamer-btn {
  padding: 10px 20px;
  background: rgb(40, 48, 70, 0.9);
  opacity: 0.9;
  color: #fff;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.streamer-btn  > span {
  position: absolute;
}

@keyframes line1 {
  50%,
  100% {
    left: 100%;
  }
}

@keyframes line2 {
  50%,
  100% {
    top: 100%;
  }
}

@keyframes line3 {
  50%,
  100% {
    left: -100%;
  }
}
@keyframes line4 {
  50%,
  100% {
    top: -100%;
  }
}
/*primary：#283046 #9e95f5  #4839eb
 secondary:#82868b #9ca0a4 #696d71
 success:#28c76f #48da89 #1f9d57
 warning:#ff9f43 #ffb976 #ff8510
 danger:#ea5455 #f08182 #e42728
 info:#00cfe8! #1ce7ff #00a1b5
*/
.primary:hover{
  border-radius: 5px;
  color: #fff;
  background: #03e9f4;
  box-shadow: 0 0 5px 0 #03e9f4, 0 0 25px 0 #03e9f4, 0 0 50px 0 #03e9f4,
  0 0 100px 0 #03e9f4;
  transition: all 1s linear;
}
.primary  > span:nth-child(1) {
  width: 100%;
  height: 2px;
  background: -webkit-linear-gradient(left, transparent, #03e9f4);
  left: -100%;
  top: 0px;
  animation: line1 1s linear infinite;
}
.primary  > span:nth-child(2) {
  width: 2px;
  height: 100%;
  background: -webkit-linear-gradient(top, transparent, #03e9f4);
  right: 0px;
  top: -100%;
  animation: line2 1s 0.25s linear infinite;
}
.primary  > span:nth-child(3) {
  width: 100%;
  height: 2px;
  background: -webkit-linear-gradient(left, #03e9f4, transparent);
  left: 100%;
  bottom: 0px;
  animation: line3 1s 0.75s linear infinite;
}
.primary  > span:nth-child(4) {
  width: 2px;
  height: 100%;
  background: -webkit-linear-gradient(top, transparent, #03e9f4);
  left: 0px;
  top: 100%;
  animation: line4 1s 1s linear infinite;
}


